package com.zhengshang.api.domain;

import java.math.BigDecimal;

import com.alibaba.fastjson.JSONArray;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 加油站点信息对象 app_gas_station
 * 
 * @author zhengshang
 * @date 2021-04-17
 */
public class AppGasStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 油站id */
    private String gasId;

    /** 油站名称 */
    @Excel(name = "油站名称")
    private String gasName;

    /** 油站类型（品牌）ID */
    @Excel(name = "油站类型（品牌）ID")
    private String gasTypeId;

    /** 油站类型（品牌）名称 */
    @Excel(name = "油站类型（品牌）名称")
    private String gasTypeName;

    /** 省编码 */
    private String provinceCode;

    /** 省名称 */
    @Excel(name = "省名称")
    private String provinceName;

    /** 市编码 */
    private String cityCode;

    /** 市名称 */
    @Excel(name = "市名称")
    private String cityName;

    /** 县编码 */
    private String countyCode;

    /** 县名称 */
    @Excel(name = "县名称")
    private String countyName;

    /** 小logo图片链接 */
    private String gasLogoSmall;

    /** 大logo图片链接 */
    private String gasLogoBig;

    /** 加油站详情地址 */
    @Excel(name = "加油站详情地址")
    private String gasAddress;

    /** 油站经度 */
    @Excel(name = "油站经度")
    private Double gasAddressLongitude;

    /** 油站纬度 */
    @Excel(name = "油站纬度")
    private Double gasAddressLatitude;

    /** 是否能开发票0不能开1能开 */
    @Excel(name = "是否能开发票0不能开1能开")
    private Integer isInvoice;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 距离 */
    private String distance;

    /** 营业时间 */
    private String businessHours;

    /** 油枪列表 */
    private JSONArray oilPriceList;

    public void setGasId(String gasId) 
    {
        this.gasId = gasId;
    }

    public String getGasId() 
    {
        return gasId;
    }
    public void setGasName(String gasName) 
    {
        this.gasName = gasName;
    }

    public String getGasName() 
    {
        return gasName;
    }
    public void setGasTypeId(String gasTypeId)
    {
        this.gasTypeId = gasTypeId;
    }

    public String getGasTypeId()
    {
        return gasTypeId;
    }

    public String getGasTypeName() {
        return gasTypeName;
    }

    public void setGasTypeName(String gasTypeName) {
        this.gasTypeName = gasTypeName;
    }

    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setCountyCode(String countyCode) 
    {
        this.countyCode = countyCode;
    }

    public String getCountyCode() 
    {
        return countyCode;
    }
    public void setCountyName(String countyName) 
    {
        this.countyName = countyName;
    }

    public String getCountyName() 
    {
        return countyName;
    }
    public void setGasLogoSmall(String gasLogoSmall) 
    {
        this.gasLogoSmall = gasLogoSmall;
    }

    public String getGasLogoSmall() 
    {
        return gasLogoSmall;
    }
    public void setGasLogoBig(String gasLogoBig) 
    {
        this.gasLogoBig = gasLogoBig;
    }

    public String getGasLogoBig() 
    {
        return gasLogoBig;
    }
    public void setGasAddress(String gasAddress) 
    {
        this.gasAddress = gasAddress;
    }

    public String getGasAddress() 
    {
        return gasAddress;
    }
    public void setGasAddressLongitude(Double gasAddressLongitude)
    {
        this.gasAddressLongitude = gasAddressLongitude;
    }

    public Double getGasAddressLongitude()
    {
        return gasAddressLongitude;
    }
    public void setGasAddressLatitude(Double gasAddressLatitude)
    {
        this.gasAddressLatitude = gasAddressLatitude;
    }

    public Double getGasAddressLatitude()
    {
        return gasAddressLatitude;
    }
    public void setIsInvoice(Integer isInvoice) 
    {
        this.isInvoice = isInvoice;
    }

    public Integer getIsInvoice() 
    {
        return isInvoice;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getBusinessHours() {
        return businessHours;
    }

    public void setBusinessHours(String businessHours) {
        this.businessHours = businessHours;
    }

    public JSONArray getOilPriceList() {
        if (this.oilPriceList == null) {
            this.oilPriceList = new JSONArray();
        }
        return oilPriceList;
    }

    public void setOilPriceList(JSONArray oilPriceList) {
        this.oilPriceList = oilPriceList;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gasId", getGasId())
            .append("gasName", getGasName())
            .append("gasTypeId", getGasTypeId())
            .append("gasTypeName", getGasTypeName())
            .append("provinceCode", getProvinceCode())
            .append("provinceName", getProvinceName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("countyCode", getCountyCode())
            .append("countyName", getCountyName())
            .append("gasLogoSmall", getGasLogoSmall())
            .append("gasLogoBig", getGasLogoBig())
            .append("gasAddress", getGasAddress())
            .append("gasAddressLongitude", getGasAddressLongitude())
            .append("gasAddressLatitude", getGasAddressLatitude())
            .append("isInvoice", getIsInvoice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("distance", getDistance())
            .append("businessHours", getBusinessHours())
            .append("oilPriceList", getOilPriceList())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
